<template>
    <view>
        <!-- pages/webview/index.wxml -->
        <!-- 头部 -->
        <web-view :src="httpUrl" class="web-views"></web-view>
    </view>
</template>

<script>
// pages/webview/index.js
export default {
    data() {
        return {
            httpUrl: ''
        };
    },
    onLoad(e) {
        const url = uni.getStorageSync('webview_url');
        this.setData({
            httpUrl: url
        });
    },
    methods: {}
};
</script>
<style>
@import './index.css';
</style>
